package com.luocc.tim.viewholder;

import android.view.View;
import android.widget.ImageView;
import android.widget.RelativeLayout;
import android.widget.TextView;

import androidx.annotation.NonNull;
import androidx.recyclerview.widget.RecyclerView;

import com.luocc.tim.R;

public class MessageAbstractHolder extends RecyclerView.ViewHolder {
    public final ImageView mImage;
    public final TextView mTarget;
    public final TextView mContent;
    public final TextView mTime;
    public final RelativeLayout mLeft;
    public final TextView mDelete;

    public MessageAbstractHolder(@NonNull View itemView) {
        super(itemView);
        mImage = itemView.findViewById(R.id.message_image);
        mTarget = itemView.findViewById(R.id.message_target);
        mContent = itemView.findViewById(R.id.message_content);
        mTime = itemView.findViewById(R.id.message_time);
        mLeft = itemView.findViewById(R.id.message_left);
        mDelete = itemView.findViewById(R.id.message_delete);
    }
}
